package com.sjsu.cloudmanager.client.ui.model;

import com.extjs.gxt.ui.client.data.BaseTreeModel;

/**
 * Created by IntelliJ IDEA.
 * User: ckempaiah
 * Date: 9/24/11
 * Time: 2:54 AM
 * To change this template use File | Settings | File Templates.
 */
public class MachineTreeBean extends BaseTreeModel{

    public MachineTreeBean(Integer id, String machineName){
        set("id", id);
        set("name", machineName);
    }

    public Integer getId(){
        return get("id");
    }

    public String getName(){
        return get("name");
    }
}
